package com.lzp.service;

import com.lzp.pojo.Stu;

/**
 * @author lzp
 * @date 2020/6/27
 */
public interface StuService {

    Stu getStuInfo(int id);

    void saveStu();

    void updateStu(int id);

    void deleteStu(int id);

    void saveParent();

    void saveChildren();

    void saveStuWithRollbackFor();

    void saveStuWithoutRollbackFor();
}
